# $Id: PKGBUILD 76859 2012-10-01 14:34:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-finance-quote
pkgver=1.18
pkgrel=1
pkgdesc="Perl/CPAN Module Finance::Quote : Fetch stock prices over the Internet"
arch=(any)
url="http://search.cpan.org/dist/Finance-Quote/"
license=("GPL" "Artistic")
makedepends=( "perl-html-tableextract" "perl-crypt-ssleay" "perl-libwww")
depends=("perl-html-tree" "perl-html-tableextract" "perl-crypt-ssleay" "perl-libwww")
source=("http://search.cpan.org/CPAN/authors/id/E/EC/ECOCODE/Finance-Quote-$pkgver.tar.gz")
md5sums=('339e8327a6c18d8194f6c5d1eea3bbde')

build() {
  cd $srcdir/Finance-Quote-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
